package com.ruoyi.framework.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * description: 从k8s ConfigMaps读取配置并自动更新 <br>
 *
 * @date: 2020/3/13 17:26 <br>
 * @author: wang_yu5 <br>
 * version: 1.0 <br>
 */
@Configuration
@ConfigurationProperties(prefix = "cm")
public class ConfigMapsConfig {
    private String name = "ruoyi from cm";

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
